package com.giantlizard.cloud.base.baseService;


import com.giantlizard.cloud.base.entity.BaseEntity;

import java.util.List;

public interface BaseTree<T extends BaseEntity> {
    String getId();

    String getParentId();

    Integer getOrderNo();

    void setChildren(List<T> children);

    List<T> getChildren();
}
